package com.dwxt.cdms.dao;

import com.dwxt.cdms.entity.MedicalRecordImg;
import com.dwxt.cdms.entity.MedicalRecordImgExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MedicalRecordImgMapper {
    long countByExample(MedicalRecordImgExample example);

    int deleteByExample(MedicalRecordImgExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MedicalRecordImg record);

    int insertSelective(MedicalRecordImg record);

    List<MedicalRecordImg> selectByExample(MedicalRecordImgExample example);

    MedicalRecordImg selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MedicalRecordImg record, @Param("example") MedicalRecordImgExample example);

    int updateByExample(@Param("record") MedicalRecordImg record, @Param("example") MedicalRecordImgExample example);

    int updateByPrimaryKeySelective(MedicalRecordImg record);

    int updateByPrimaryKey(MedicalRecordImg record);
}